import { create } from 'zustand'

export const useAppStore = create((set) => ({
    loading: true,
    mode: 'grid', // slider grid
    setLoading: (loading) => set((state) => ({loading})),
    setMode: (mode) => set((state) => ({mode})),
}))